home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Networking / NameAndAddress / NameAndAddress.h < prev    next >
Encoding:
Text File  |  2000-10-06  |  1.2 KB  |  42 lines

  1. /*
  2.     File:       NameAndAddress.h
  3.  
  4.     Contains:   Public header for the NameAndAddress class.
  5.  
  6.     Written by: Guy @Werk
  7.  
  8.     Created:    June 1997
  9.  
  10.     Copyright:  (c)1997-2000 by Apple Computer, Inc., all rights reserved.
  11.  
  12.     Change History (most recent first):
  13.                 June  2000 - Updated to Project Builder on DP4
  14.          March 1998 - HI changes - DG
  15.         April 1997 -- Created for the initial Rhapsody training.
  16.  
  17.     You may incorporate this sample code into your applications without
  18.     restriction, though the sample code has been provided "AS IS" and the
  19.     responsibility for its operation is 100% yours.  However, what you are
  20.     not permitted to do is to redistribute the source as "DSC Sample Code"
  21.     after having made changes. If you're going to re-distribute the source,
  22.     we require that you make it clear in the source that the code was
  23.     descended from Apple Sample Code, but that you've made changes.
  24. */
  25.  
  26. #import <AppKit/AppKit.h>
  27.  
  28. @interface NameAndAddress : NSObject
  29. {
  30.     // O U T L E T S
  31.     id hostNameButton;
  32.     id hostNameField;
  33.     id IPAddressButton;
  34.     id IPAddressField;
  35. }
  36.  
  37. // A C T I O N S
  38. - (void)getHostName:(id)sender;
  39. - (void)getIPAddress:(id)sender;
  40.  
  41. @end
  42.